using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BaseDatos.Comun;
using BaseDatos;

namespace SCHD
{
    public partial class WFMaestroAreasc1 : TDV.Controles.Base.WinForm.BaseForm_Tipo02
    {
        public WFMaestroAreasc1()
        {
            InitializeComponent();
        }

        private void WFMaestroAreasc1_Load(object sender, EventArgs e)
        {
            DbParametro[] Parametros = new DbParametro[0];
            //Parametros[0] = new DbParametro("popcion", "QRY01");
            ////Consulta la base de datos y crea un dataset
            DataSet Ds = ConexionBaseDatos.Conexion.CrearDataSet("GETCHDMasestroAreas", Parametros);
            if (Ds.Tables[0].Rows.Count > 0)
            {
                GrdAreas.DataSource = Ds.Tables[0];
            }
        }

        private void BtnSalir_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}

